<html>
<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>canvas像素画板</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <style>
    body{
        text-align: center;
    }
    #main{
        margin:0 auto;
        width: 800px;
        margin-top: 100px;
    }
    </style>
    <script src='/bundle.js'></script>
</head>
<body>
    <div id="main">
    </div>
    <script>
        var d = new Drawing({
            el:'main'
        });
        d.createPixel();
    </script>
</body>
</html>